import sys
from PySide6.QtWidgets import QApplication
import gui

# 更新字典 {车辆编号：树莓派IP} 
ref_ip = {"1":"192.168.0.125",
          "2":"192.168.0.114",
          }

def main(args=None):
    # 运行图形界面
    app = QApplication(sys.argv)
    window = gui.MainWindow(ref_ip)
    window.show()
    sys.exit(app.exec())
    

if __name__ == '__main__':
    main()